package physics;

public class Circle extends Shape{
	private double radius;
	
	public Circle(Vector posn) {
		this.posn = posn;
		this.vel = nullVec;
		this.acc = nullVec;
		this.fixed = false;
		this.radius = 15;
		this.mass = 1;
		this.gravity = 0;
	}
	
	public Circle(Vector posn, Vector vel) {
		this.posn = posn;
		this.vel = vel;
		this.acc = nullVec;
		this.fixed = false;
		this.radius = 15;
		this.mass = 1;
		this.gravity = 1;
	}
	
	public Circle(Vector posn, Vector vel, Vector acc) {
		this.posn = posn;
		this.vel = vel;
		this.acc = acc;
		this.fixed = false;
		this.radius = 15;
		this.mass = 1;
		this.gravity = 0;
	}

	public Circle(Vector posn, Vector vel, double rad) {
		this.posn = posn;
		this.vel = vel;
		this.acc = nullVec;
		this.radius = rad;
		this.mass = 1.0;
		this.gravity = 0;
	}
	
	public Circle(Vector posn, Vector vel, double rad, double mass) {
		this.posn = posn;
		this.vel = vel;
		this.acc = nullVec;
		this.radius = rad;
		this.mass = mass;
		this.gravity = 0;
		this.fixed = false;
	}
	
	public Circle(Vector posn, Vector vel, double rad, double mass, 
			double gravity, boolean fixed) {
		this.posn = posn;
		this.vel = vel;
		this.acc = nullVec;
		this.radius = rad;
		this.mass = mass;
		this.gravity = gravity;
		this.fixed = fixed;
	}
	
	public Circle(Vector posn, double rad, Vector vel, Vector acc, 
			double grav, boolean fixed) {
		this.posn = posn;
		this.radius = rad;
		this.vel = vel;
		this.acc = acc;
		this.gravity = grav;
		this.fixed = fixed;
	}

	public double getRadius() {
		return radius;
	}

	public void setRadius(float radius) {
		this.radius = radius;
	}

}
